package com.hsgene.order.dto.peanut;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hsgene.common.util.date.TimeJsonDeserializer;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 变更详情
 *
 * @author wangbing
 * @version 1.0, 2018/11/6
 */
public class GeneOrderInterChangeDetail implements Serializable {

    private static final long serialVersionUID = 624882394413141605L;
    /**
     * 变更详情id
     */
    private String id;

    /**
     * 订单id
     */
    private String orderId;

    private String sourceId;

    private String destId;

    private String interchangeId;

    private BigDecimal amount;

    private Integer supplementFlag;

    private String reason;

    /**
     * 样本ID多个中间英文逗号隔开
     */
    private String sampleIds;

    /**
     * 样本类型(逗号分隔)
     */
    private String sampleType;

    /**
     * 是否寄回余蜡(1是，0否)
     */
    private Integer sendWax;

    /**
     * 采样日期
     */
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date collectDate;

    /**
     * 快递公司
     */
    private String expressCompany;

    /**
     * 快递编号
     */
    private String expressNo;

    /**
     * 快递日期
     */
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date expressTime;

    /**
     * 快递备注
     */
    private String expressRemark;

    /**
     * 变更操作类型
     */
    private Integer actionType;

    /**
     * 凭证图片(逗号分隔)
     */
    private String proof;

    /**
     * 原样本是否可用
     */
    private Integer sampleReuse;

    /**
     * 样本条码
     */
    private String sampleBarcode;

    /**
     * 套餐条码
     */
    private String barcode;

    /**
     * 医院编码
     */
    private String hospitalCode;

    /**
     * 白片数量
     */
    private Integer whiteCount;

    /**
     * 血液样本图片
     */
    private String bloodSampleImages;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getDestId() {
        return destId;
    }

    public void setDestId(String destId) {
        this.destId = destId;
    }

    public String getInterchangeId() {
        return interchangeId;
    }

    public void setInterchangeId(String interchangeId) {
        this.interchangeId = interchangeId;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getSupplementFlag() {
        return supplementFlag;
    }

    public void setSupplementFlag(Integer supplementFlag) {
        this.supplementFlag = supplementFlag;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getSampleType() {
        return sampleType;
    }

    public void setSampleType(String sampleType) {
        this.sampleType = sampleType;
    }

    public Integer getSendWax() {
        return sendWax;
    }

    public void setSendWax(Integer sendWax) {
        this.sendWax = sendWax;
    }

    public Date getCollectDate() {
        return collectDate;
    }

    public void setCollectDate(Date collectDate) {
        this.collectDate = collectDate;
    }

    public String getExpressCompany() {
        return expressCompany;
    }

    public void setExpressCompany(String expressCompany) {
        this.expressCompany = expressCompany;
    }

    public String getExpressNo() {
        return expressNo;
    }

    public void setExpressNo(String expressNo) {
        this.expressNo = expressNo;
    }

    public Date getExpressTime() {
        return expressTime;
    }

    public void setExpressTime(Date expressTime) {
        this.expressTime = expressTime;
    }

    public String getExpressRemark() {
        return expressRemark;
    }

    public void setExpressRemark(String expressRemark) {
        this.expressRemark = expressRemark;
    }

    public Integer getActionType() {
        return actionType;
    }

    public void setActionType(Integer actionType) {
        this.actionType = actionType;
    }

    public String getProof() {
        return proof;
    }

    public void setProof(String proof) {
        this.proof = proof;
    }

    public Integer getSampleReuse() {
        return sampleReuse;
    }

    public void setSampleReuse(Integer sampleReuse) {
        this.sampleReuse = sampleReuse;
    }

    public String getSampleBarcode() {
        return sampleBarcode;
    }

    public void setSampleBarcode(String sampleBarcode) {
        this.sampleBarcode = sampleBarcode;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getHospitalCode() {
        return hospitalCode;
    }

    public void setHospitalCode(String hospitalCode) {
        this.hospitalCode = hospitalCode;
    }

    public Integer getWhiteCount() {
        return whiteCount;
    }

    public void setWhiteCount(Integer whiteCount) {
        this.whiteCount = whiteCount;
    }

    public String getSampleIds() {
        return sampleIds;
    }

    public void setSampleIds(String sampleIds) {
        this.sampleIds = sampleIds;
    }

    public String getBloodSampleImages() {
        return bloodSampleImages;
    }

    public void setBloodSampleImages(String bloodSampleImages) {
        this.bloodSampleImages = bloodSampleImages;
    }
}
